All Functions of Week 9

scale_x_continuous

{GGPLOT2}

Customise continuous x axis

seq

{base}

Create a sequence

theme_classic

{GGPLOT2}

A minimalistic theme with no gridlines

c

{base}

Combine values/vectors into a vector

ylab

{GGPLOT2}

Label the y axis (ggplot)

ggplot

{GGPLOT2}

Create a ggplot graph

summary

{base}

Obtain summary statistics or detailed regression output

theme

{GGPLOT2}

Set theme for GGPLOT2

lm

{base}

Fit a linear model

setwd

{base}

Set Working Directory

stargazer

{stargazer}

Create a regression output table

geom_smooth

{GGPLOT2}

Generates a smoothed conditional means curve / line

aes

{GGPLOT2}

Construct aesthetic mapping of a ggplot graph

geom_point

{GGPLOT2}

Generates a scatter plot

plotPlane

{rockchalk}

Draw a 3-D regression plot for two predictors

element_text

{GGPLOT2}

Customise text in GGPLOT2

read_dta

{haven}

Read a .dta file (Stata data)

library

{base}

Load an R package

The end!